home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / Developer University / DU Projects / ExtSample / Sources / Frame.h < prev    next >
Encoding:
Text File  |  1996-12-11  |  1.3 KB  |  45 lines  |  [TEXT/CWIE]

  1. //    Release Version:    $ ODF 3 $
  2. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4. #ifndef FRAME_H
  5. #define FRAME_H
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWFRAME_H
  10. #include <FWFrame.h>        // FW_CFrame
  11. #endif
  12.  
  13. //=======================================================================
  14. class CExtSamplePart;
  15. class DevUniv_STalker;
  16. class FW_CPictureShape; 
  17.  
  18. //=======================================================================
  19. class CExtSampleFrame : public FW_CFrame {
  20. public:
  21.     FW_DECLARE_AUTO(CExtSampleFrame)
  22.                         CExtSampleFrame(Environment* ev, 
  23.                                     ODFrame* odFrame, 
  24.                                     FW_CPresentation* presentation, 
  25.                                     CExtSamplePart* sample3Part);
  26.     virtual             ~CExtSampleFrame();
  27. protected:
  28. // overrides
  29.     virtual void        Draw(Environment* ev, 
  30.                              ODFacet* odFacet, 
  31.                              ODShape* invalidShape);
  32.     virtual FW_Handled    DoMouseDown(Environment* ev, 
  33.                                     const FW_CMouseEvent& theMouseEvent);
  34.     virtual void        FrameShapeChanged(Environment* ev);
  35. // new members
  36.     virtual void         MyInitPicture(Environment* ev);
  37. private:
  38.     DevUniv_STalker*    fSOMTalker;    // SOM object for speech synthesis
  39.     FW_CRect             fFrameRect;
  40.     FW_CPictureShape*    fPictShape;    // Mr. Pizza
  41. };
  42.  
  43. //=======================================================================
  44. #endif
  45.